package com.jacky.flutter_screen_recording;

/**
 * 清洁性检查状态
 */
public class CheckStatusBean {
    public final static int CODE_ERROR = 4;
    public int code = 0;
    public String title;
    public String content;
    public String error;
    public String reason;

    public CheckStatusBean(String content, String reason) {
        this.content = content;
        this.reason = reason;
    }

    public void setError(String error){
        if(this.error != null){
            this.error = this.error+"、"+error;
        }else {
            this.error = error;
        }
        code = CODE_ERROR;
    }

    public boolean isError(){
        return code == CODE_ERROR;
    }

    /**
     * 获取检测 流程集合
     */

}
